#ifndef HAND_H
#define HAND_H

#include "Card.h"
#include "Deck.h"

const int NB_HAND_CARDS = 13;
const int NB_TABLE_CARDS = 4;

const point<int> positionPlayer1 = { 12, 1 };
const point<int> positionPlayer2 = { 70, 7 };
const point<int> positionPlayer3 = { 12, 49 };
const point<int> positionPlayer4 = { 2, 7 };
const point<int> positionTable = { 16, 14 };

struct hand
{
	int nb;
	card cards[NB_HAND_CARDS];
};

void InitializeHand(hand &h);
bool HasTrump(const hand& h, int kind);
int DisplayHand(const hand &h, int currentPlayer, bool isCurrentPlayer);
void AddCard(hand& h, card& c);
void RemoveCard(hand& h, int cardNumber);

#endif